package com.common.testClasses
{
	import flash.display.MovieClip;

	public class MasterTest extends MovieClip
	{
		public static var MASTERTEST : MasterTest;
		
		protected var testsArray : Array;
		
		public function MasterTest()
		{
			super();
			MASTERTEST = this;
			addTests();
		}
		
		virtual protected function addTests() : void {
			
		}
		
		public function executeTests() : void {
			var test:Test;
			var i : int;
			var n : int = testsArray.length;
			for(i = 0; i < n; i++) {
				test = testsArray[i] as Test;
				test.runTestFunctions();
			}
		}
		
	}
}